﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Linq;
using System.Text;
using KPIS.GERP.GHRMS.MODEL;

namespace KPIS.GERP.GHRMS.IBLL
{
    public interface IRoyalItemHistoriesBLL
    {
        IList<RoyalItemHistoryInfo> ListRoyalItemHistories(string Employee);
        IList<RoyalItemHistoryInfo> ListRoyalItemHistoriesByYear(string Year);
        IList<RoyalItemHistoryInfo> ListRoyalItemHistoriesBySequence(int Sequence);
        DataSet LoadRoyalItemHistories(Nullable<int> Sequence, Nullable<int> EmpSequence, Nullable<int> ReceiveYear);

        void Insert(string Employee, Nullable<int> RoyalItemReqSeq, string RoyalItem, Nullable<DateTime> ReceiveDate
                , string PosRef, string PosName, string ClassName, Nullable<Double> Salary, string JobSiteName
                , string GazetteNo1, string GazetteNo2, string GazetteNo3, string GazetteNo4
                , string GazetteNo5, Nullable<DateTime> GazetteDate, Nullable<DateTime> RoyalDate, int CreatedBy);
        void Update(int Sequence, string Employee, Nullable<int> RoyalItemReqSeq, string RoyalItem, Nullable<DateTime> ReceiveDate
                , string PosRef, string PosName, string ClassName, Nullable<Double> Salary, string JobSiteName
                , string GazetteNo1, string GazetteNo2, string GazetteNo3
                , string GazetteNo4, string GazetteNo5, Nullable<DateTime> GazetteDate, Nullable<DateTime> RoyalDate
                , int UpdatedBy);
        void UpdateHistory(int Sequence, string RoyalItem, Nullable<DateTime> ReceiveDate
                , string GazetteNo1, string GazetteNo2, string GazetteNo3, string GazetteNo4, string GazetteNo5
                , Nullable<DateTime> GazetteDate, Nullable<DateTime> RoyalDate, int UpdatedBy);
        void Delete(int Sequence, int UpdatedBy);
    }
}
